#!/bin/bash

if [ $# -lt 2 ]; then
  echo "$0 <repo file> <pattern>"
  exit 0
fi

repo=$1
pkg=$2

yum -c ${repo} --disablerepo=\* --enablerepo=everything provides ${pkg}
